﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using WindowsFormsTest.SysManager;

namespace WindowsFormsTest.Reserve
{
    public partial class UserAdd : UserControl
    {
        public UserAdd()
        {
            InitializeComponent();

            
            //tableLayoutPanel1.
            //TableLayoutPanel.
            //tableLayoutPanel1.row
            //this.tableLayoutPanel1
        }

        private void label8_Click(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            WindowsFormsTest.SysManager.PostTreeDialog ptd= new PostTreeDialog();
            ptd.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            WindowsFormsTest.SysManager.DeptTreeDialog ptd = new DeptTreeDialog();
            ptd.ShowDialog();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            WindowsFormsTest.SysManager.RoleTreeDialog ptd = new RoleTreeDialog();
            ptd.ShowDialog();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            WindowsFormsTest.SysManager.UserDialog ptd = new UserDialog();
            ptd.ShowDialog();
            
        }
    }
}
